package ui.activity.profit.module;


import dagger.Module;
import dagger.Provides;
import ui.activity.profit.biz.ProfitBiz;
import ui.activity.profit.contract.ProfitContract;

/**
 * Created by chenjian on 19/2/26
 */
@Module
public class ProfitModule {
    private ProfitContract.View view;

    public ProfitModule(ProfitContract.View view) {
        this.view = view;
    }

    @Provides
    public ProfitContract.View provideView() {
        return view;
    }

    @Provides
    public ProfitBiz provideBiz() {
        return new ProfitBiz();
    }
}